body{
	background: rgb(255, 206, 66);
}
.main-box{
	position:absolute;
	top:50%;
	left:50%;
	margin-top:-175px;
	margin-left:-200px;
	width: 400px;
	height: 350px;
}

.box-login{
	width: 100%;
	height: 350px;
	box-shadow:0 0 5px rgba(0,0,0,0.5);/*阴影效果*/
	border-radius:5px;
}

h2{
	color:rgb(51,51,51);
	text-align: center;
	height: 20%;
	line-height: 70px;
}
.form-box{
	margin: 2% auto 0;
	vertical-align: middle;
	height: 10%;
	line-height:35px;
	padding:5px;
	width:80%;
	border:1px solid rgba(0,0,0,0.2);
}
.form-box>input{
	border: 0;
	width: 78%;
	height: 100%;
	background: transparent;/*设置背景透明*/
}

#copy{
	display: block;
	text-align:center;
	color:rgba(0,0,0,0.5);
}

.btn-login{
	margin-left:20%;
	width:60%;
	height: 100%;
	border: 0;
	background-color: rgb(51,51,51);
	font-size: 16px;
	color:rgba(255,255,255,0.5);
	cursor:pointer;/*设置鼠标指针为手指*/
	transition: background-color .5s;
}
.btn-login:hover{
	background-color:rgba(51,51,51,0.8);
}
/*伪对象*/
::-webkit-input-placeholder{
	color:rgba(255,255,255,0.8);
}

.forgot-password{
	text-align: right;
}
.forgot-password>a{
	transition: all .5s;
}
.forgot-password>a:hover{
	color:rgb(76, 140, 245);
	text-decoration: underline;
}

#vcode-box{
	display: inline-block;
	height: 100%;
	cursor:pointer;
	/*禁止选择文本*/
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

/*登陆结果消息提示*/
.tips{
	position:relative;
	padding:5px 10px;
	margin: 0 auto;
	width: 300px;
	color:#fff;
	background-color: rgba(255,0,0,0.8);
	text-align: center;
	border-radius: 0 0 5px 5px;
	display: none;
}

.error{
	box-shadow: 0 0 5px rgba(255,0,0,0.8);
}
